Analysis of Variance Table Response: age Df Sum Sq Mean Sq F value Pr(>F) spouse 1 425 424.71 51.148 2.474e-11 *** pair 169 43974 260.20 31.337 < 2.2e-16 *** Residuals 169 1403 8.30 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
https://statistically-funny.blogspot.com/2021/03/in-clinical-trials-you-can-have-it-both.html
Analysis of Variance Table Response: pef Df Sum Sq Mean Sq F value Pr(>F) treatment 1 13388 13388.5 16.250 0.001666 ** id 12 115213 9601.1 11.654 7.935e-05 *** Residuals 12 9887 823.9 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
# A tibble: 2 × 3 order period1_mean period2_mean <chr> <dbl> <dbl> 1 for/sal 337. 306. 2 sal/for 283. 346.
# A tibble: 2 × 3 order formoterol_mean salbutamol_mean <chr> <dbl> <dbl> 1 for/sal 337. 306. 2 sal/for 346. 283.
Analysis of Variance Table Response: pef Df Sum Sq Mean Sq F value Pr(>F) order 1 335 335.2 0.4467 0.517697 id 11 114878 10443.5 13.9171 6.495e-05 *** period 1 985 984.6 1.3121 0.276323 treatment 1 14036 14035.9 18.7044 0.001205 ** Residuals 11 8254 750.4 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1